package com.starry.chat.logic.model

import com.google.gson.annotations.SerializedName

data class ChatBodyBean(
    @SerializedName("messages")
    var messages: List<MessagesDTO>? = null,
    @SerializedName("system")
    var system: String? = null
)
{
    data class MessagesDTO(
        @SerializedName("role")
        var role: String? = null,

        @SerializedName("content")
        var content: String? = null
    ){
        override fun toString(): String {
            return "MessagesDTO(role=$role, content=$content)"
        }
    }

    override fun toString(): String {
        return "ChatBodyBean(messages=$messages)"
    }
}